#pragma once
#include<boost/asio.hpp>
#include"Session.h"
class Server
{
public:
	Server(boost::asio::io_context& ioc, int port);
	void accept_handle(Session* s, const boost::system::error_code&error);
	void start_accept();
	boost::asio::io_context &ioc;
	boost::asio::ip::tcp::acceptor act;
};
